package com.danciyixue.boot.dcyx.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 用户单词学习状态视图对象
 *
 * @author youlaitech
 * @since 2025-06-24 15:50
 */
@Getter
@Setter
@Schema( description = "用户单词学习状态视图对象")
public class UserWordStatusVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户单词学习状态ID")
    private Long id;
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "单词ID")
    private Long wordId;
    @Schema(description = "所属单元名称")
    private String unitName;
    @Schema(description = "所属教材ID")
    private Long programId;
    @Schema(description = "所属系列ID")
    private Long seriesId;
    @Schema(description = "是否已学（0否，1是）")
    private Integer learned;
    @Schema(description = "学习次数")
    private Integer studyCount;
    @Schema(description = "正确次数")
    private Integer correctCount;
    @Schema(description = "错误次数")
    private Integer errorCount;
    @Schema(description = "最后学习时间")
    private LocalDateTime lastStudyAt;
}
